#ifndef INI_FILE_HANDLER_H
#define INI_FILE_HANDLER_H

#include "IniFileErrorID.h"
#include <string>

namespace IniFile {

struct Handler
{
	virtual bool onError(unsigned long line, unsigned int column, ErrorID errorno, int token) = 0;
	virtual void onSection(const std::string &name) = 0;
	virtual void onProperty(const std::string &name, const std::string &value) = 0;
};

} // namespace IniFile

#endif
